package cn.org.timespace.easyframe;

import cn.org.timespace.easyframe.Globals;

/**
 * <p>
 * 字典表常量
 * </p>
 * 
 * @version 1.0, 11/02/11
 * @since 1.0
 * @author 
 */

public class DictionaryConst {
	
	/**
	 * 用户状态
	 */
	public static final String DicUserIsValid_VALID = "1";    //有效
	public static final String DicUserIsValid_INVALID = "0";  //无效
	
	//add 2011-02-25
	  //入住房
    public static final String GUSTROOM_USING_ROOM = "2";
    //入住单状态,1表示未结算，2表示已结算
    public static final String DIC_CHECK_IN_STATE_ING ="1";
    public static final String DIC_CHECK_IN_STATE_OVER ="2";
    
    
    /**
     * 客房预订单状态
     */
    public static final String DicReservationState_NoCheckIN = "1";	//未入住
    public static final String DicReservationState_CheckIN = "2";	//已入住
    public static final String DicReservationState_Cancel = "3";	//已取消
    public static final String DicReservationState_TimeOut = "4";	//已过期
    /**
     * 会议室预订单状态
     */
    public static final String DicMrStateState_NoCome = "1";	//未到
    public static final String DicMrStateState_CheckIN = "2";	//已到
    public static final String DicMrStateState_Cancel = "3";	//已取消
    public static final String DicMrStateState_TimeOut = "4";	//已过期
    
    
    /**
     * 客房维护表（ROOM_MANAGE）
     * 当前房态
     * 1:空净房，2：入住房，3：预离房，4：空脏房，5：维修房，6：预订房， 7：锁定房
     */
    public static final String DicRoomState_Clean = "1";	//空净房
    public static final String DicRoomState_CheckIN = "2";	//已住房
    public static final String DicRoomState_Leave = "3";	//预离房
    public static final String DicRoomState_Dirty = "4";	//空脏房
    public static final String DicRoomState_Repair = "5";	//维修房
    public static final String DicRoomState_Reservation= "6";	//预订房
    public static final String DicRoomState_Lock= "7";	//锁定房
    
    /**
     * 客房维护表（ROOM_MANAGE）
     * 是否需要保密（DIC_IS_SECRECY）	1：是，2:否
     */
    public static final String DIC_IS_SECRECY_YES= "1"; //是
    public static final String DIC_IS_SECRECY_NO= "2"; //否
    
    
    /**
     * 客房维护表（ROOM_MANAGE）
     * 是否有贵重物品（DIC_IS_VALUABLES）	1：是，2:否
     */
    public static final String DIC_IS_VALUABLES_YES= "1"; //是
    public static final String DIC_IS_VALUABLES_NO= "2"; //否
    
    
    /**
     * 客房维护表（ROOM_MANAGE）
     * 是否需要立即清扫（DIC_IS_CLEAN）	1：是，2:否
     */
    public static final String DIC_IS_CLEAN_YES= "1"; //是
    public static final String DIC_IS_CLEAN_NO= "2"; //否
    
    /**
     * 客房维护表（ROOM_MANAGE）
     * 是否预警 （DIC_IS_WARING）	1：是，2:否  
     */
    public static final String DIC_IS_WARING_YES= "1"; //是
    public static final String DIC_IS_WARING_NO= "2"; //否
    
    /**
     * 会议室
     * 1:已预订，2：已占用，3：未占用
     */
    public static final String DIC_CONFERNCE_STATE_1 = "1";	
    public static final String DIC_CONFERNCE_STATE_2 = "2";	
    public static final String DIC_CONFERNCE_STATE_3 = "3";	

    /**
     * 酒店营收科目
     */
    public static final String REVENUR_ITEMS_GUEST_COMPENSATION = Globals.F_ROOM_CUSTOMERS_PAY;//客户赔偿
    public static final String REVENUR_ITEMS_ROOM_COST = Globals.F_ROOM_PRICE;//房费
    public static final String REVENUR_ITEMS_MEETINGROOM = Globals.F_MEETINGROOM;//会议室
    
    
    /**
     * 宾客入住登记总表（CHECK_IN_BILL）
     * 入住单类型（DIC_BILL_TYPE）	1:散客，2：团队
     */
    public static final String DIC_BILL_TYPE_PERSONAL = "1";//散客
    public static final String DIC_BILL_TYPE_TEAM = "2";//团队
    
    
    /**
     * 宾客入住登记总表（CHECK_IN_BILL）	
     * 入住单状态(DIC_CHECK_IN_STATE)	1:未结算，2：已结算  3:已合并未结算 4:已合并已结算
     */
    public static final String DIC_CHECK_IN_STATE_HAS_NOT_SETTLED = "1";//未结算
    public static final String DIC_CHECK_IN_STATE_HAS_SETTLED = "2";//已结算
    public static final String DIC_CHECK_IN_STATE_HAS_MERGED_NO_SETTLED = "3";//已合并未结算
    public static final String DIC_CHECK_IN_STATE_HAS_MERGED_HAS_SETTLED = "4";//已合并已结算
    
    /**
     * 入住类型
     */
    public static final String DIC_CHECKIN_TYPE_VISITOR = "1";	//散客
    public static final String DIC_CHECKIN_TYPE_COHABIT = "3";	//同住
    public static final String DIC_CHECKIN_TYPE_TEAM = "2";		//团队
    public static final String DIC_CHECKIN_TYPE_CLOCK = "4";	//钟点 
    public static final String DIC_CHECKIN_TYPE_HELP = "5";		//自用 
    public static final String DIC_CHECKIN_TYPE_FREE = "6";		//免费 
    public static final String DIC_CHECKIN_TYPE_OTHER = "7";	//其它 
    
    //  录入散客入住时可选的入住类型
    public static final String[] PERSONAL_CHECK_IN_TYPE = {
			DIC_CHECKIN_TYPE_VISITOR, DIC_CHECKIN_TYPE_CLOCK,
			DIC_CHECKIN_TYPE_HELP, DIC_CHECKIN_TYPE_FREE,
			DIC_CHECKIN_TYPE_OTHER };
    
    /**
     * 是否已支付
     */
    public static final String DIC_IS_PAY_NO = "1";	//否
    public static final String DIC_IS_PAY_YES = "2";//是
    /**
     * 餐别
     */
    public static final String DIC_CATERING_TYPE_BREAKFAST = "1";//早餐
    public static final String DIC_CATERING_TYPE_LUNCH = "2";//午餐
    public static final String DIC_CATERING_TYPE_DINNER = "3";//晚餐
    public static final String DIC_CATERING_TYPE_SUPPER = "4";//夜宵
    
    /**
     * 入住宾客类型
     */
    public static final String DIC_GUEST_TYPE_COMMON = "1";			//普通宾客
    public static final String DIC_GUEST_TYPE_VIP = "2";			//VIP
    public static final String DIC_GUEST_TYPE_TRAVEL = "3";			//旅行社
    public static final String DIC_GUEST_TYPE_INTERIOR = "5";		//内部客户
    public static final String DIC_GUEST_TYPE_TREATY_UNIT = "6";	//协议单位
    public static final String DIC_GUEST_TYPE_TREATY_PERSONAL = "7";//协议个人
    public static final String DIC_GUEST_TYPE_OTHER = "8";			//其它
    
    /**
     * 挂房帐表(HANG_ROOM_BILL) 挂账类型（DIC_HANG_TYPE）  1：餐饮，2：会议室，3：客房，4：其他 
     */
    public static final String DIC_HANG_TYPE_REPAST = "1";//餐饮
    public static final String DIC_HANG_TYPE_METTINGROOM = "2";//会议室
    public static final String DIC_HANG_TYPE_GUESTROOM = "3";//客房
    public static final String DIC_HANG_TYPE_OTHER = "4";//其他
    
    /**
     * 挂房帐表(HANG_ROOM_BILL) 是否已结算（DIC_IS_OK）1：是，2：否
     */
    public static final String DIC_IS_OK_YES = "2";//是
    public static final String DIC_IS_OK_NO = "1";//否
	
	
	/**
	 * 餐饮消费结算单(CATERING_SALE_SETTLEMENT)	是否挂房帐（DIC_IS_HANG_ROOM）	1：是，2：否
	 */
    public static final String DIC_IS_HANG_ROOM_YES = "1";//是
    public static final String DIC_IS_HANG_ROOM_NO = "2";//否
    
    
	
	/**
	 * 餐饮消费结算单(CATERING_SALE_SETTLEMENT)	结算单状态(DIC_SETTLEMENT_STATE)	1:未结算，2：已结算，3：已合并
	 * 会议室租用结算单(MEETING_ROOM_RENT_BILL)	
	 */
    public static final String DIC_SETTLEMENT_STATE_HAS_NOT_SETTLED = "1";//未结算
    public static final String DIC_SETTLEMENT_STATE_HAS_SETTLED = "2";//已结算
    public static final String DIC_SETTLEMENT_STATE_HAS_MERGER= "3"; //已合并
    
    /**
     * 协议单位类型 
     * groupname:DicUnitType 
     * type :table 
     * remark:协议单位类型
     */
    public static final String EF_DICTIONARY_GROUPNAME_DIC_UNIT_TYPE = "DicUnitType";
    public static final String EF_DICTIONARY_TYPE_TABLE = "table";
    public static final String EF_DICTIONARY_REMARK_UNITTYPE = "协议单位类型";
    
    /**
     * 协议单位表（AGREEMENT_UNIT_MANAGE）
     * 是否生成挂账账号(DIC_IS_BILL_ACCOUNT)	1:是，2:否
     */
    public static final String DIC_IS_BILL_ACCOUNT_YES= "1"; //是
    public static final String DIC_IS_BILL_ACCOUNT_NO= "2"; //否
    
    /**
     * 协议单位表（AGREEMENT_UNIT_MANAGE）
     * 是否可透支（DIC_IS_OVERDRAW）	1：是，2:否
     */
    public static final String DIC_IS_OVERDRAW_YES= "1"; //是
    public static final String DIC_IS_OVERDRAW_NO= "2"; //否
    
    
    /**
     * 宾客入住登记总表（CHECK_IN_BILL）	
     * 支付方式（DIC_PAYMENT_TYPE）	1:现金，2：支票，3：优惠券，4：会员卡，5：银行卡，6：信用卡，7：签单，8：挂账，9：其他
     */
    public static final String DIC_PAYMENT_TYPE_CASH= "1"; //现金
    public static final String DIC_PAYMENT_TYPE_CHECK= "2"; //支票
    public static final String DIC_PAYMENT_TYPE_COUPON= "3"; //优惠券
    public static final String DIC_PAYMENT_TYPE_CONSUMERCARD= "4"; //会员卡
    public static final String DIC_PAYMENT_TYPE_BANKCARD= "5"; //银行卡
    public static final String DIC_PAYMENT_TYPE_CREDITCARD= "6"; //信用卡
    public static final String DIC_PAYMENT_TYPE_SIGNING= "7"; //签单
    public static final String DIC_PAYMENT_TYPE_HANGBILL= "8"; //挂账
    public static final String DIC_PAYMENT_TYPE_OTHER= "9"; //其他
    
    /**
     * 客房入住所使用客房表(ROOM_CHECK_IN_REL)	
     * 客房标识(DIC_ROOM_FLAG)	1:正常入住，2：换房
     */
    public static final String DIC_ROOM_FLAG_NORMALCHECKIN = "1";//正常入住
    public static final String DIC_ROOM_FLAG_CHANGEROOM = "2";//换房
    
    /**
     * 挂账管理表(GZ_MANAGE)	
     * 是否结清(DIC_IS_OK)	0:未结清，1：已结清
     */
    public static final String DIC_IS_JQ_NO = "0";//未结清
    public static final String DIC_IS_JQ_YES = "1";//已结清
    
    
    /**
     * 挂账管理表(AGREEMENT_UNIT_MANAGE)	
     * 协议单位类型(DIC_UNIT_TYPE)	1:政府部门  2:旅游公司  3:旅行社  4:其它单位
     */
    public static final String DIC_UNIT_TYPE_GOVERNMENT = "1";//政府部门
    public static final String DIC_UNIT_TYPE_TRAVEL_COMPANY = "2";//旅游公司
    public static final String DIC_UNIT_TYPE_TRAVEL_AGENT = "3";//旅行社
    public static final String DIC_UNIT_TYPE_OTHER = "4";//其它单位
    
    
    /**
     * 证件类型(DIC_CERTIFICATE_TYPE)	1:身份证	2:军官证	3:士兵证	4:外交护照	5:公务护照	6:其他
     */
    public static final String DIC_CERTIFICATE_TYPE_ID = "1";//身份证
    public static final String DIC_CERTIFICATE_TYPE_MILITARY_ID = "2";//军官证
    public static final String DIC_CERTIFICATE_TYPE_SOLDIER_ID = "3";//士兵证
    public static final String DIC_CERTIFICATE_TYPE_PASSPORT = "4";//外交护照
    public static final String DIC_CERTIFICATE_TYPE_OFFICIAL_PASSPORT = "5";//公务护照
    public static final String DIC_CERTIFICATE_TYPE_OTHER = "6";//其他
    
    //入住单类型
    public static final String MenuGroupName_DicCheckInType = "DicCheckInType";
}